<% for community in communitiesRow%>
   <% community.highlight(params[:q], :field => 'title') %>
   <table width="90%" border="0">
    <tr>
      <td width="55%" align="left">
      <%= link_to "#{community.highlight(params[:q], :field => 'title', :pre_tag =>"<span class=\"highlight\">" , :post_tag =>"</span>" )}", community_path(community.district, community) %>
      </td>
      <td width="45%" align="right">
      <%= community.users.size%>个成员
      </td>
    </tr>
    <tr>
      <td colspan="2" align="left">
      <%= community.highlight(params[:q], :field => 'position', :pre_tag =>"<span class=\"highlight\">" , :post_tag =>"</span>")%> <%= community.district.title %>
      </td>
    </tr>
   </table>
   <p class="itemseparator">
   </p>
<% end %>
<% if !@communities.nil? %>
<%= will_paginate(@communities)%>
<% end %>